$(function(){
	function calcRem(){
		var http = document.getElementsByTagName('html')[0];
		console.log(http);
		var w = document.documentElement.clientWidth;
		console.log(w);
		http.style.fontSize = w/18.75 + 'px';
	}
	calcRem();
	window.onresize = function(){
		calcRem()
	};
	
	$('.fix-left .click-hiden').click(function(){
		$('.fix-left').hide()
	})
	var list = [
	{
		height:"100%",
		width:"100%",
		content:"images/011145276909.jpg"
	},{
		height:"100%",
		width:"100%",
		content:"images/021200384652.jpg"
	},{
		height:"100%",
		width:"100%",
		content:"images/040912159788.jpg"
	},{
		height:"100%",
		width:"100%",
		content:"images/161643265204.jpg"
	}
	]
	var islider = new iSlider({
		 data: list,
            dom: document.getElementById("iSlide"),
            duration: 2000,
            animateType: 'rotate',
            isAutoplay: true,
            isLooping: true,
	})
	 islider.bindMouse();
	 window.onresize=function(){
		location.reload()
	 }
})